home *** CD-ROM | disk | FTP | other *** search
- import java.applet.AudioClip;
- import java.awt.Graphics;
- import java.awt.Image;
- import java.io.IOException;
-
- public class c08 extends c00 {
- // $FF: renamed from: Nc java.awt.Image[]
- protected Image[] field_0;
- // $FF: renamed from: NN java.lang.String
- public String field_1;
- // $FF: renamed from: Os java.lang.String
- protected String field_2;
- // $FF: renamed from: LM boolean
- public boolean field_3 = true;
- // $FF: renamed from: IM int
- protected int field_4;
- // $FF: renamed from: Of int
- protected int field_5;
- // $FF: renamed from: Hm java.lang.String
- protected String field_6;
- // $FF: renamed from: Iv int
- protected int field_7;
- // $FF: renamed from: GS boolean
- protected boolean field_8 = true;
- // $FF: renamed from: HH boolean
- protected boolean field_9;
- // $FF: renamed from: Gx boolean
- public boolean field_10 = false;
- // $FF: renamed from: HJ c09
- public c09 field_11;
- // $FF: renamed from: Ht java.applet.AudioClip
- protected AudioClip field_12;
- // $FF: renamed from: Gn int
- protected int field_13;
-
- // $FF: renamed from: GX (java.lang.String) void
- public void method_0(String var1) {
- this.field_0 = new Image[this.field_4];
-
- for(int var3 = 0; var3 < this.field_4; ++var3) {
- String var2 = var1 + var3 + "." + this.field_6;
- this.field_0[var3] = super.JT.Mw.getImage(super.JT.Mw.getCodeBase(), var2);
- }
-
- }
-
- // $FF: renamed from: KL (boolean) void
- public void method_1(boolean var1) {
- if (this.field_10) {
- this.method_4(var1);
- } else {
- this.method_0(this.field_2);
-
- for(int var2 = 0; var2 < this.field_4; ++var2) {
- super.JT.Lq(this.field_0[var2]);
- }
-
- }
- }
-
- // $FF: renamed from: Oa (int) void
- public void method_2(int var1) {
- if (var1 < 0) {
- var1 = this.field_4 - 1;
- } else if (var1 >= this.field_4) {
- var1 = 0;
- }
-
- this.field_5 = var1;
- }
-
- // $FF: renamed from: Kd (boolean) void
- public void method_3(boolean var1) {
- this.field_8 = var1;
- if (this.field_10) {
- if (this.field_8) {
- this.method_6(true);
- return;
- }
-
- this.method_5();
- }
-
- }
-
- // $FF: renamed from: NO (boolean) c09
- private c09 method_4(boolean var1) {
- if (var1) {
- if (this.field_11 == null || this.field_3) {
- this.field_11 = super.JT.FK.Gi(this.field_2);
- this.field_3 = false;
- }
- } else {
- this.method_5();
- }
-
- return this.field_11;
- }
-
- // $FF: renamed from: Gu () void
- public void method_5() {
- if (this.field_10 && this.field_12 != null) {
- this.field_12.stop();
- }
-
- }
-
- // $FF: renamed from: GO (boolean) void
- public void method_6(boolean var1) {
- if (this.field_10) {
- if (this.field_12 == null) {
- this.field_12 = this.field_11.Ju();
- }
-
- if (this.field_12 != null) {
- if (var1) {
- this.field_12.loop();
- return;
- }
-
- this.field_12.play();
- }
- }
-
- }
-
- // $FF: renamed from: Ib () void
- public void method_7() {
- super.Ib();
- if (this.field_1 != this.field_2) {
- this.field_3 = true;
- }
-
- this.field_1 = this.field_2;
- super.Hj = super.Lb;
- this.field_8 = this.field_9;
- this.field_13 = 0;
- if (this.field_10) {
- if (this.field_8) {
- this.method_6(false);
- this.field_8 = false;
- return;
- }
-
- this.method_5();
- }
-
- }
-
- // $FF: renamed from: Lf (c14) java.lang.Object
- public Object method_8(c14 var1) throws IOException {
- super.Lf(var1);
- this.field_10 = var1.Nb() != 0;
- this.field_2 = var1.Mr();
- if (!this.field_10) {
- this.field_4 = var1.GJ();
- this.field_6 = var1.Mr();
- super.Lb = var1.Nb() != 0;
- this.field_7 = var1.GJ();
- }
-
- this.field_9 = var1.Nb() != 0;
- return this;
- }
-
- // $FF: renamed from: Nq (int) void
- public void method_9(int var1) {
- super.Nq(var1);
- if (!this.field_10 && this.field_8) {
- super.JT.Fk = true;
- if (var1 - this.field_13 >= this.field_7) {
- ++this.field_5;
- this.field_13 = var1;
- if (this.field_5 >= this.field_4) {
- this.field_5 = 0;
- }
- }
- }
-
- }
-
- // $FF: renamed from: JL (java.awt.Graphics) void
- public void method_10(Graphics var1) {
- if (!this.field_10) {
- if (this.field_0 == null && this.field_4 != 0) {
- this.method_0(this.field_1);
- if (super.JC == 0) {
- var1.drawImage(this.field_0[0], 4000, 4000, super.JT.Mw);
- }
- }
-
- if (super.JC != 0) {
- int var2 = ((c00)this).GH();
- int var3 = ((c00)this).GT();
- if (super.Hj) {
- var1.drawImage(this.field_0[this.field_5], var2, var3, super.LZ, super.LX, super.JT.Mw);
- return;
- }
-
- var1.drawImage(this.field_0[this.field_5], var2, var3, super.JT.Mw);
- }
-
- }
- }
- }
-